//
//  UserInfoController.h
//  YYZB
//
//  Created by 顾悦 on 16/3/23.
//
//

#import <Foundation/Foundation.h>

@interface UserInfoController : NSObject

+ (BOOL)isClient;
+ (void)setIsClient:(BOOL)isClient;

+ (BOOL)hasShownIntro;
+ (void)setHasShownIntro:(BOOL)hasShownIntro;

+ (NSString *)userID;
+ (void)setUserID:(NSString *)userID;

+ (NSString *)userNo;
+ (void)setUserNo:(NSString *)userNo;

+ (NSString *)password;
+ (void)setPassword:(NSString *)password;

+ (NSString *)sessionKey;
+ (void)setSessionKey:(NSString *)sessionKey;

+ (BOOL)isLogin;

+ (void)clearLoginInfo;

+ (NSString *)defaultCityID;
+ (void)setDefaultCityID:(NSString *)cityID;

+ (NSString *)defaultCityName;
+ (void)setDefaultCityName:(NSString *)cityName;

+ (NSString *)defaultCommunityID;
+ (void)setDefaultCommunityID:(NSString *)communityID;

+ (NSString *)defaultCommunityName;
+ (void)setDefaultCommunityName:(NSString *)communityName;

+ (NSData *)deviceToken;
+ (void)setDeviceToken:(NSData *)deviceToken;

+ (NSString *)registerID;
+ (void)setRegisterID:(NSString *)registerID;

+ (NSString *)WeChatShareID;
+ (void)setWeChatShareID:(NSString *)WeChatShareID;

@end
